package com.mmr.dxp.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 建立对应视图
 * 抽取文件rds_file,文件夹rds_folder,表格rds_table相同部分
 *
 *
 */
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name = "rds_file_folder_table")
public class RdsResourceObject implements Serializable {

    private static final long serialVersionUID = 399529754118203405L;
    private String id;
    private String name;
    private Date creTime;
    private Date updTime;
    private String creUser;
    private String safeLevel;
    private String rdsPubId;
    private String remark;
    private String type;
//    private String orgId;
    private OrganInfo organInfo;
    private String cataId;
    private String cataTitle;
    private String sourceCode;
    private String domainId;
    private Integer recordState;
    private String status;
    private String content;
    private String sourceSystem;
    /**
     * 附件，名称
     */
    private String fujianName;
    /**
     * 附件，uuid
     */
    private String fujianUuid;
    /**
     * 附件，下载地址
     */
    private String fujianPath;
}

